﻿namespace Assets.XyzCode.Fight.Game.Enemy
{
    partial class Enemy_X_Behav
    {
        /// <summary>
        /// 执行出拳
        /// </summary>
        public void DoPunch()
        {
            if (!CanSwitchStateTo(StateEnum.Punch))
            {
                return;
            }

            if (StateEnum.Punch == _currState)
            {
                return;
            }
        }
    }
}
